<script>
	$(document).ready(function(){
		
		$('#kd_fakultas').change(function(){
			$('#kd_prodi').load(base_url+'prosedur/getProdibyFakultas/'+$('#kd_fakultas').val());
		});
		
		$('#kd_prodi').change(function(){
			$('#kd_dosen').load(base_url+'prosedur/getDosenbyProdi/'+$('#kd_prodi').val());
		});
		
	});
</script>

<form id="form1" method="post" style="margin:10px;">
	<input type="hidden" name="kd_mahasiswa" id="kd_mahasiswa" value="<?=$kd_mahasiswa?>">
	<div class="fitem" >
		<label style="width:100px">NIM </label>:
		<input name="nim" size="15" required="true" value="<?=$nim?>" readonly>
	</div>
	<div class="fitem" >
		<label style="width:100px">Nama </label>:
		<input name="nama" size="30" required="true" value="<?=$nama?>" readonly>
	</div>
	<div class="fitem" >
		<label style="width:100px">Alamat </label>:
		<input name="alamat" size="30" required="true" value="<?=$alamat?>">
	</div>
	<div class="fitem" >
		<label style="width:100px">Telepon</label>:
		<input name="no_telp" size="15" required="true" value="<?=$no_telp?>">
	<div class="fitem" >
		<label style="width:100px">Status Pekerjaan</label>:		
		<select id="status_kerja" name="status_kerja">
			<option value="">- Pilih Status -</option>
			<option value="Berkerja" <?=$status_kerja == 'Berkerja'?'selected ="selected"':''; ?>>Bekerja</option>
			<option value="Belum Bekerja" <?=$status_kerja == 'Belum Bekerja'?'selected ="selected"':''; ?>>Belum Bekerja</option>
			
		</select>
	</div>
	</div><div class="fitem" >
		<label style="width:100px">Instansi </label>:
		<input name="instansi" size="30" required="true" value="<?=$instansi?>">
	</div>
</form>
	

